<html>
<head>
<link href="../../Objects/sofa_white.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<div id="contenu">		
		<center><h3>Topology Linear Different Mesh</h3></center>
	        <center><img src="TopologyLinearDifferentMesh_01.png" width="300" name="TopologyLinearDifferentMesh" align="middle"></center>		  
	<br>	
	<div id="orangeText">Description</div>
	<br>
<div align="left">
	The aim of this tutorial is to show the different ways to create linear mesh topologies. In this tutorial, three linear pendulums are represented, implying:
	  <ul>
		<li>A mechanicalObject with geometry point positions.</li>
		<li>A mass for gravity and fixed points.</li>
		<li>A mesh spring forcefield to create springs between points</li>
		<li>An ODE scheme and a linear solver to solve the system at each time step.</li>
		<li>And a topological component.</li>
	</ul>
        <br>
	<div id="orangeText">Key points</div>
	<br>
	There are three possible ways to build a linear mesh using the components:
	<ul>
    <li><b>MeshTopology</b>, to create a static mesh. I.e a component able to handle different topologies (2D/3D), either triangles, tetrahedra, quads, or hexahedra. But this component is only a container. This means, the structure can be accessed, as well as further information. But no modifications are possible.</li>
		<li><b>RegularGridTopology</b>, to create a regular mesh. I.e a component able to create a mesh (no mesh file needed) with a regular grid, by giving the boundaries and the scaling.</li>
		<li><b>EdgeSetTopologyContainer</b>, to create a dynamic mesh. I.e a component able to handle only edge topology, but, other classes can be added to perform topological operations. Classes are EdgeSetTopologyModifier (for unitary operation), EdgeSetTopologyAlgorithms (for more complex topological operations) and EdgeSetGeometryAlgorithms (to couple topology algorithms and geometry positions). </li>
	</ul>	
	<br>
	<div id="orangeText">Results</div>
	<br>
	Thus, when simulate, the three models will act as a pendulum, the same way.
	<br>
	<center><img src="TopologyLinearDifferentMesh_02.png" width="300" name="TopologyLinearDifferentMesh" align="middle">
	</center>
</div>
</div>
</body>
</html>
